package com.ruoyi.car.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆信息对象 car_info
 * 
 * @author ruoyi
 * @date 2022-12-02
 */
public class CarInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆id */
    private Long carId;

    /** 车牌 */
    @Excel(name = "车牌")
    private String carNumber;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String type;

    /** 车辆图片 */
    @Excel(name = "车辆图片")
    private String avatar;

    /** 车辆品牌 */
    @Excel(name = "车辆品牌")
    private String brand;

    /** 车型号 */
    @Excel(name = "车型号")
    private String model;

    /** 颜色 */
    @Excel(name = "颜色")
    private String colour;

    /** 级别 */
    @Excel(name = "级别")
    private String level;

    /** 类别 */
    @Excel(name = "类别")
    private String category;

    /** 核载人数 */
    @Excel(name = "核载人数")
    private Long manned;

    private String packName;

    public String getPackName() {
        return packName;
    }

    public void setPackName(String packName) {
        this.packName = packName;
    }

    public void setCarId(Long carId)
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setCarNumber(String carNumber) 
    {
        this.carNumber = carNumber;
    }

    public String getCarNumber() 
    {
        return carNumber;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setColour(String colour) 
    {
        this.colour = colour;
    }

    public String getColour() 
    {
        return colour;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setManned(Long manned) 
    {
        this.manned = manned;
    }

    public Long getManned() 
    {
        return manned;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carNumber", getCarNumber())
            .append("type", getType())
            .append("avatar", getAvatar())
            .append("brand", getBrand())
            .append("model", getModel())
            .append("colour", getColour())
            .append("level", getLevel())
            .append("category", getCategory())
            .append("manned", getManned())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
